<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/cvicse-cmis.tld" prefix="cmis"%>
<%

response.setDateHeader("Expires", -1);
%>

<html:html>
<HEAD>
<%@ page
language="java"
contentType="text/html; charset=GBK"
pageEncoding="GBK"

%>
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<SCRIPT language="JavaScript" src="../../js/public.js"></SCRIPT>
<SCRIPT language="JavaScript" src="../../js/button.js"></SCRIPT>
<SCRIPT language="JavaScript">
<!--
function toEdit(classId){

	with(document.forms[0]){
		id.value=classId;
		operAtt.value="edit";
		submit();
	}

	return true;
}

function toClear(){
	with(document.forms[0]){
		selectId.value="";
		selectName.value="";
		selectCreator.value="";
	}
	return true;
}

function toSave(){
	with(document.forms[0]){

		pages.value="1";
		operAtt.value="select";
		submit();
	}
	return true;
}

function toAdd(){
	with(document.forms[0]){
		operAtt.value="add";
		submit();
	}
	return true;
}
removeCookie('webfxtab_');
//-->
</SCRIPT>
</HEAD>

<BODY>

<html:form action="/news/newsclass/newsclass.do">
	<input type="hidden" name='operAtt' value='select' />
	<input type="hidden" name="newsClassData.classId" Id="id" />
	<TABLE class="border">
		<TBODY>
			<TR>
				<TD>
				<P class="newsTitle"><bean:message key="NewsClassManage.select.title" /></P>
				<html:errors /><bean:write name="newsClassForm" property="message"
					filter="false" />
				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="dataTab.select" /></DIV>


				<table border="1" width="100%">
					<tbody>
						<TR>
							<TH nowrap width="15%" align="left"><bean:message
								key="NewsClassData.classId" /></TH>
							<TD><html:text property="conditionData.classId" size="25" maxlength="10"
								styleId="selectId"></html:text></TD>
                                                        <TH nowrap width="15%" align="left"><bean:message
								key="NewsClassData.creator" /></TH>
							<TD><html:text property="conditionData.creator" size="25"
								maxlength="7" styleId="selectCreator"></html:text></TD>


						</TR>
						<TR>
							<TH nowrap width="15%" align="left"><bean:message
                                                          	key="NewsClassData.className" /></TH>
							<TD colspan="6"><html:text property="conditionData.className" size="62" maxlength="20"
								styleId="selectName"></html:text></TD>
						</TR>
						<TR>
							<TD colspan="4" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="4" align="center" nowrap><html:button
								property="Save" onclick="toSave()" styleClass="button">
								<bean:message key="dataEdit.select" />
							</html:button> <html:button styleClass="button" property="Clear"
								onclick="toClear()">
								<bean:message key="dataEdit.resetall" />
							</html:button></TD>
						</TR>
					</tbody>
				</table>
				</DIV>
				</DIV>
				<BR>
				<bean:write name="newsClassForm" property="footer" filter="false" />
				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="dataTab.list" /></DIV>
				<TABLE border="1" width="100%">
					<tbody>
						<TR>
							<TD style="padding: 0px">
                                                          <cmis:BeanTable width="100%" border="1"
								styleClass="hideBorder" onClick="toEdit" multibox="true">
								<cmis:Attribute name="classId" key="true" align="center">
									<bean:message key="NewsClassData.classId" />
								</cmis:Attribute>
								<cmis:Attribute name="className">
									<bean:message key="NewsClassData.className" />
								</cmis:Attribute>
								<cmis:Attribute name="creatorName" align="center">
									<bean:message key="NewsClassData.creator" />
								</cmis:Attribute>
								<cmis:Attribute name="createDate" align="center">
									<bean:message key="NewsClassData.createDate" />
								</cmis:Attribute>
                                <cmis:Attribute name="isUsedName" align="center">
									<bean:message key="NewsClassData.isUsed" />
								</cmis:Attribute>
                                <cmis:Attribute name="classLevel" align="center" visible="false">
									<bean:message key="NewsClassData.classLevel" />
								</cmis:Attribute>
                                <cmis:Attribute name="clasLevlName" align="center">
									<bean:message key="NewsClassData.classLevel" />
								</cmis:Attribute>
                                <cmis:Attribute name="fathClassName" align="center">
									<bean:message key="NewsClassData.fathClass" />
								</cmis:Attribute>
							</cmis:BeanTable></TD>
						</TR>


						<TR>
							<TD colspan="5" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="6" align="center" nowrap><html:button
								property="delete" onclick="toDel()" styleClass="button">
								<bean:message key="dataEdit.delSelected" />
							</html:button><html:button property="creat" onclick="toAdd()"
								styleClass="button">
								<bean:message key="dataEdit.insert" />
							</html:button></TD>
						</TR>
					</tbody>
				</TABLE>
				</DIV>
				</DIV>
				</TD>
			</TR>
		</TBODY>
	</TABLE>


</html:form>
</BODY>
</html:html>
